<?php
namespace app\home\controller;
use think\Controller;
use think\facade\Request;


class Index extends Base
{
    public function index()
    {
        
        // $goods_id=input()['id'];
        // $list=\app\common\model\Goods::where('id',$id)->order('id desc')->paginate(10);




        $goods=\app\common\model\Goods::limit(4)->select();
        $goods1=\app\common\model\Goods::limit('4,4')->select();
        return view('index',['goods' => $goods,'goods1' => $goods1]);
    }
    public function introduce()
    {
        $this->view->engine->layout(false);
        return view();
    }
    
}
